<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>活动详情 - 黄淮学院校园活动管理系统</title>
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- Font Awesome -->
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- Chart.js -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <!-- 自定义配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#0FC6C2',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                        info: '#86909C',
                        dark: '#1D2129',
                        light: '#F2F3F5'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-hover {
                @apply transition-all duration-300 hover:shadow-lg hover:-translate-y-1;
            }
            .btn-primary {
                @apply bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-all;
            }
            .btn-secondary {
                @apply bg-white border border-primary text-primary px-4 py-2 rounded-lg hover:bg-primary/5 transition-all;
            }
            .btn-danger {
                @apply bg-danger text-white px-4 py-2 rounded-lg hover:bg-danger/90 transition-all;
            }
            .nav-item {
                @apply px-4 py-2 rounded-lg transition-all hover:bg-primary/10 cursor-pointer;
            }
            .nav-item-active {
                @apply bg-primary/10 text-primary font-medium;
            }
            .form-input {
                @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary transition-all;
            }
            .badge {
                @apply px-2 py-1 text-xs rounded-full;
            }
            .tab-item {
                @apply px-4 py-2 border-b-2 border-transparent hover:text-primary transition-all cursor-pointer;
            }
            .tab-item-active {
                @apply border-primary text-primary font-medium;
            }
        }
    </style>
    <link rel="stylesheet" href="css/style.css">
</head>
<body class="bg-gray-50 text-dark">
    <!-- 顶部导航栏 -->
    <header id="navbar" class="fixed top-0 left-0 right-0 bg-white shadow-sm z-50 transition-all duration-300">
        <div class="container mx-auto px-4">
            <div class="flex items-center justify-between h-16">
                <!-- Logo -->
                <div class="flex items-center space-x-2">
                    <div class="w-10 h-10 bg-primary rounded-lg flex items-center justify-center">
                        <i class="fa fa-graduation-cap text-white text-xl"></i>
                    </div>
                    <div>
                        <h1 class="text-xl font-bold text-primary">黄淮学院</h1>
                        <p class="text-xs text-info">校园活动管理系统</p>
                    </div>
                </div>
                
                <!-- 导航链接 - 桌面端 -->
                <nav class="hidden md:flex items-center space-x-2">
                    <a href="index.html" class="nav-item">首页</a>
                    <a href="activities.html" class="nav-item">活动列表</a>
                    <a href="discover.html" class="nav-item">发现</a>
                    <a href="about.html" class="nav-item">关于我们</a>
                </nav>
                
                <!-- 用户操作 -->
                <div class="flex items-center space-x-4">
                    <button id="searchBtn" class="p-2 rounded-full hover:bg-gray-100 transition-all">
                        <i class="fa fa-search text-info"></i>
                    <!-- 消息通知按钮 -->
                    <button id="notificationsBtn" class="p-2 rounded-full hover:bg-gray-100 transition-all relative">
                        <i class="fa fa-bell text-info"></i>
                        <span class="absolute top-1 right-1 w-2 h-2 bg-danger rounded-full"></span>
                    </button>
                    <!-- 消息通知窗口 -->
                    <div id="notificationsDropdown" class="absolute right-0 mt-2 w-80 bg-white rounded-lg shadow-lg py-2 z-50 hidden">
                        <div class="px-4 py-2 border-b border-gray-100 flex justify-between items-center">
                            <h3 class="font-medium">消息通知</h3>
                            <a href="notifications.html" class="text-xs text-primary hover:underline">查看全部</a>
                        </div>
                        <div class="max-h-96 overflow-y-auto">
                            <!-- 通知项 -->
                            <div class="px-4 py-3 hover:bg-gray-50 transition-all border-b border-gray-100">
                                <div class="flex gap-3">
                                    <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0">
                                        <i class="fa fa-calendar text-primary"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="text-sm font-medium mb-1">活动即将开始提醒</div>
                                        <div class="text-xs text-gray-500 mb-2">您报名的"第12届校园科技创新大赛"将于明天开始</div>
                                        <div class="text-xs text-info">10分钟前</div>
                                    </div>
                                </div>
                            </div>
                            <div class="px-4 py-3 hover:bg-gray-50 transition-all border-b border-gray-100">
                                <div class="flex gap-3">
                                    <div class="w-10 h-10 bg-success/10 rounded-full flex items-center justify-center flex-shrink-0">
                                        <i class="fa fa-check text-success"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="text-sm font-medium mb-1">报名成功</div>
                                        <div class="text-xs text-gray-500 mb-2">您已成功报名"大数据技术前沿讲座"</div>
                                        <div class="text-xs text-info">2小时前</div>
                                    </div>
                                </div>
                            </div>
                            <div class="px-4 py-3 hover:bg-gray-50 transition-all">
                                <div class="flex gap-3">
                                    <div class="w-10 h-10 bg-warning/10 rounded-full flex items-center justify-center flex-shrink-0">
                                        <i class="fa fa-bell text-warning"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="text-sm font-medium mb-1">新活动推荐</div>
                                        <div class="text-xs text-gray-500 mb-2">根据您的兴趣，为您推荐"人工智能应用开发工作坊"</div>
                                        <div class="text-xs text-info">昨天</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="userMenu" class="relative">
                        <button id="userMenuBtn" class="flex items-center space-x-2 hover:bg-gray-100 p-1 rounded-lg transition-all">
                            <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-primary/20">
                            <span class="hidden md:inline-block font-medium">游客</span>
                            <i class="fa fa-caret-down text-xs text-info"></i>
                        </button>
                        <!-- 用户下拉菜单 -->
                        <div id="userDropdown" class="absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-lg py-2 z-50 hidden">
                            <a href="login.html" class="block px-4 py-2 text-sm hover:bg-gray-100 transition-all">
                                <i class="fa fa-sign-in mr-2 text-info"></i>登录
                            </a>
                            <a href="register.html" class="block px-4 py-2 text-sm hover:bg-gray-100 transition-all">
                                <i class="fa fa-user-plus mr-2 text-info"></i>注册
                            </a>
                        </div>
                    </div>
                    <!-- 移动端菜单按钮 -->
                    <button id="mobileMenuBtn" class="md:hidden p-2 rounded-lg hover:bg-gray-100 transition-all">
                        <i class="fa fa-bars text-info"></i>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 搜索框 -->
        <div id="searchBox" class="container mx-auto px-4 pb-4 hidden">
            <div class="relative">
                <input type="text" placeholder="搜索活动、主办方..." class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary/50">
                <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-info"></i>
            </div>
        </div>
        
        <!-- 移动端导航菜单 -->
        <div id="mobileMenu" class="md:hidden container mx-auto px-4 pb-4 hidden">
            <nav class="flex flex-col space-y-1">
                <a href="index.html" class="nav-item">首页</a>
                <a href="activities.html" class="nav-item">活动列表</a>
                <a href="discover.html" class="nav-item">发现</a>
                <a href="about.html" class="nav-item">关于我们</a>
                <div class="pt-2 flex space-x-2">
                    <a href="login.html" class="btn-primary flex-1 text-center">登录</a>
                    <a href="register.html" class="btn-secondary flex-1 text-center">注册</a>
                </div>
            </nav>
        </div>
    </header>

    <!-- 主要内容 -->
    <main class="container mx-auto px-4 pt-24 pb-16">
        <!-- 面包屑导航 -->
        <div class="mb-6">
            <nav class="flex" aria-label="Breadcrumb">
                <ol class="inline-flex items-center space-x-3">
                    <li class="inline-flex items-center">
                        <a href="index.html" class="text-sm text-info hover:text-primary transition-all">
                            <i class="fa fa-home mr-1"></i>首页
                        </a>
                    </li>
                    <li>
                        <div class="flex items-center">
                            <i class="fa fa-angle-right text-info mx-1"></i>
                            <a href="activities.html" class="text-sm text-info hover:text-primary transition-all">活动列表</a>
                        </div>
                    </li>
                    <li aria-current="page">
                        <div class="flex items-center">
                            <i class="fa fa-angle-right text-info mx-1"></i>
                            <span class="text-sm text-dark font-medium">活动详情</span>
                        </div>
                    </li>
                </ol>
            </nav>
        </div>

        <!-- 活动头部信息 -->
        <section class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
            <!-- 活动封面 -->
            <div class="relative" style="height: 400px;">
                <img src="https://picsum.photos/id/1019/1200/400" alt="活动封面" class="w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent flex items-end">
                    <div class="p-8">
                        <div class="flex flex-wrap items-center gap-2 mb-3">
                            <span class="badge bg-primary/90 text-white">热门</span>
                            <span class="badge bg-secondary/90 text-white">学术</span>
                            <span class="badge bg-info/90 text-white">科技学院</span>
                        </div>
                        <h1 class="text-3xl md:text-4xl font-bold text-white mb-3">第12届校园科技创新大赛</h1>
                        <div class="flex flex-wrap items-center gap-x-6 gap-y-2 text-white/80 text-sm">
                            <div class="flex items-center">
                                <i class="fa fa-calendar mr-2"></i>
                                <span>2023-11-20 09:00-17:00</span>
                            </div>
                            <div class="flex items-center">
                                <i class="fa fa-map-marker mr-2"></i>
                                <span>科技创新中心一楼大厅</span>
                            </div>
                            <div class="flex items-center">
                                <i class="fa fa-user-o mr-2"></i>
                                <span>科技学院</span>
                            </div>
                        </div>
                    </div>
                </div>
                <button id="favoriteBtn" class="absolute top-6 right-6 w-12 h-12 rounded-full bg-white/80 backdrop-blur-sm flex items-center justify-center text-info hover:text-danger transition-all">
                    <i class="fa fa-heart-o text-xl"></i>
                </button>
            </div>
            
            <!-- 活动状态和操作 -->
            <div class="p-6 border-b border-gray-100 flex flex-col md:flex-row md:items-center md:justify-between gap-4">
                <div class="flex items-center gap-6">
                    <div class="text-center">
                        <div class="text-2xl font-bold text-primary">28</div>
                        <div class="text-xs text-info">剩余名额</div>
                    </div>
                    <div class="text-center">
                        <div class="text-2xl font-bold text-secondary">72</div>
                        <div class="text-xs text-info">已报名</div>
                    </div>
                    <div class="text-center">
                        <div class="text-2xl font-bold text-success">120</div>
                        <div class="text-xs text-info">浏览量</div>
                    </div>
                </div>
                <div class="flex gap-3">
<a href="login.html" class="btn-primary">
                        <i class="fa fa-ticket mr-1"></i>立即报名
                    </a>
                </div>
            </div>
        </section>

        <!-- 活动详情主体 -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
            <!-- 左侧内容区域 -->
            <div class="lg:col-span-2">
                <!-- 活动标签页 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
                    <!-- 标签导航 -->
                    <div class="border-b border-gray-100">
                        <div class="flex overflow-x-auto hide-scrollbar">
                            <div class="tab-item tab-item-active">活动详情</div>
                            <div class="tab-item">日程安排</div>
                            <div class="tab-item">参赛作品</div>
                            <div class="tab-item">评论</div>
                        </div>
                    </div>
                    
                    <!-- 标签内容 -->
                    <div class="p-6">
                        <div class="prose max-w-none">
                            <h2 class="text-xl font-bold mb-4">活动介绍</h2>
                            <p class="text-gray-700 mb-4">第12届校园科技创新大赛旨在展示我校学生在科技创新方面的优秀成果，促进学术交流与合作，激发学生创新思维和实践能力。本次大赛涵盖人工智能、物联网、大数据、区块链等多个领域，欢迎全校各院系学生积极参与。</p>
                            
                            <h3 class="text-lg font-bold mb-3 mt-6">活动亮点</h3>
                            <ul class="list-disc pl-6 mb-4 text-gray-700 space-y-2">
                                <li>邀请行业专家担任评委，提供专业指导</li>
                                <li>优秀作品将推荐参加省级和国家级比赛</li>
                                <li>设置丰厚奖金和实习机会</li>
                                <li>提供项目孵化和创业指导</li>
                            </ul>
                            
                            <h3 class="text-lg font-bold mb-3 mt-6">参赛要求</h3>
                            <ol class="list-decimal pl-6 mb-4 text-gray-700 space-y-2">
                                <li>参赛对象：全校在读本科生、研究生</li>
                                <li>参赛形式：个人或团队（最多5人）</li>
                                <li>作品要求：原创性、创新性、实用性</li>
                                <li>报名截止时间：2023-11-15 23:59</li>
                            </ol>
                            
                            <h3 class="text-lg font-bold mb-3 mt-6">奖项设置</h3>
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
                                <div class="bg-gray-50 p-4 rounded-lg">
                                    <div class="text-primary font-bold">一等奖（1名）</div>
                                    <div class="text-gray-700">奖金5000元 + 证书 + 企业实习机会</div>
                                </div>
                                <div class="bg-gray-50 p-4 rounded-lg">
                                    <div class="text-secondary font-bold">二等奖（2名）</div>
                                    <div class="text-gray-700">奖金3000元 + 证书 + 企业实习机会</div>
                                </div>
                                <div class="bg-gray-50 p-4 rounded-lg">
                                    <div class="text-success font-bold">三等奖（3名）</div>
                                    <div class="text-gray-700">奖金1000元 + 证书</div>
                                </div>
                                <div class="bg-gray-50 p-4 rounded-lg">
                                    <div class="text-warning font-bold">优秀奖（5名）</div>
                                    <div class="text-gray-700">奖金500元 + 证书</div>
                                </div>
                            </div>
                            
                            <h3 class="text-lg font-bold mb-3 mt-6">联系方式</h3>
                            <p class="text-gray-700 mb-2"><i class="fa fa-envelope mr-2 text-primary"></i> tech-competition@huanghuai.edu.cn</p>
                            <p class="text-gray-700"><i class="fa fa-phone mr-2 text-primary"></i> 0396-2853888（李老师）</p>
                        </div>
                    </div>
                </div>
                
                <!-- 活动图片集 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
                    <div class="p-6">
                        <h2 class="text-xl font-bold mb-4">活动图片</h2>
                        <div class="grid grid-cols-2 md:grid-cols-3 gap-4">
                            <div class="aspect-video rounded-lg overflow-hidden cursor-pointer hover:opacity-90 transition-all">
                                <img src="https://picsum.photos/id/1019/400/300" alt="活动图片" class="w-full h-full object-cover">
                            </div>
                            <div class="aspect-video rounded-lg overflow-hidden cursor-pointer hover:opacity-90 transition-all">
                                <img src="https://picsum.photos/id/1033/400/300" alt="活动图片" class="w-full h-full object-cover">
                            </div>
                            <div class="aspect-video rounded-lg overflow-hidden cursor-pointer hover:opacity-90 transition-all">
                                <img src="https://picsum.photos/id/1040/400/300" alt="活动图片" class="w-full h-full object-cover">
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论区 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
                    <div class="p-6">
                        <h2 class="text-xl font-bold mb-6">评论区（12）</h2>
                        
                        <!-- 评论输入框 -->
                        <div class="flex gap-4 mb-8">
                            <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="w-10 h-10 rounded-full object-cover">
                            <div class="flex-1">
                                <textarea placeholder="写下你的评论..." class="w-full p-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary transition-all min-h-[100px]"></textarea>
                                <div class="flex justify-end mt-2">
                                    <a href="login.html" class="btn-primary">发布评论</a>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论列表 -->
                        <div class="space-y-6">
                            <!-- 评论1 -->
                            <div class="flex gap-4">
                                <img src="https://picsum.photos/id/1012/200/200" alt="用户头像" class="w-10 h-10 rounded-full object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between items-start mb-1">
                                        <div class="font-medium">张三</div>
                                        <div class="text-xs text-info">2023-11-10 14:30</div>
                                    </div>
                                    <p class="text-gray-700 mb-2">去年参加过这个比赛，收获很大，认识了很多优秀的同学，今年继续报名！</p>
                                    <div class="flex items-center text-xs text-info">
                                        <button class="flex items-center hover:text-primary transition-all mr-4">
                                            <i class="fa fa-thumbs-o-up mr-1"></i>点赞 (8)
                                        </button>
                                        <button class="flex items-center hover:text-primary transition-all">
                                            <i class="fa fa-comment-o mr-1"></i>回复
                                        </button>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 评论2 -->
                            <div class="flex gap-4">
                                <img src="https://picsum.photos/id/1027/200/200" alt="用户头像" class="w-10 h-10 rounded-full object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between items-start mb-1">
                                        <div class="font-medium">李四</div>
                                        <div class="text-xs text-info">2023-11-09 09:15</div>
                                    </div>
                                    <p class="text-gray-700 mb-2">请问个人项目可以参加吗？有没有具体的评分标准？</p>
                                    <div class="flex items-center text-xs text-info">
                                        <button class="flex items-center hover:text-primary transition-all mr-4">
                                            <i class="fa fa-thumbs-o-up mr-1"></i>点赞 (3)
                                        </button>
                                        <button class="flex items-center hover:text-primary transition-all">
                                            <i class="fa fa-comment-o mr-1"></i>回复
                                        </button>
                                    </div>
                                    
                                    <!-- 回复 -->
                                    <div class="mt-4 pl-4 border-l-2 border-gray-200">
                                        <div class="flex gap-3 mb-3">
                                            <img src="https://picsum.photos/id/1001/200/200" alt="官方头像" class="w-8 h-8 rounded-full object-cover">
                                            <div>
                                                <div class="flex items-center gap-1 mb-1">
                                                    <div class="font-medium">科技学院学生会</div>
                                                    <span class="badge bg-primary/20 text-primary">官方</span>
                                                </div>
                                                <p class="text-gray-700 text-sm mb-1">可以个人参加的，评分标准主要包括创新性、实用性、技术难度和演示效果四个方面。</p>
                                                <div class="text-xs text-info">2023-11-09 10:20</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 加载更多评论 -->
                        <div class="text-center mt-8">
                            <button class="btn-secondary"> 
 
                                 ...... 
 
                             </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="lg:col-span-1">
                <!-- 主办方信息 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
                    <div class="p-6">
                        <h2 class="text-xl font-bold mb-4">主办方信息</h2>
                        <div class="flex items-center gap-4 mb-4">
                            <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center">
                                <i class="fa fa-university text-primary text-2xl"></i>
                            </div>
                            <div>
                                <div class="font-bold">科技学院</div>
                                <div class="text-sm text-info">黄淮学院二级学院</div>
                            </div>
                        </div>
                        <div class="space-y-3">
                            <div class="flex items-start gap-3">
                                <i class="fa fa-building-o text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">所属单位</div>
                                    <div class="text-sm">黄淮学院</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-user-o text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">联系人</div>
                                    <div class="text-sm">李老师</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-phone text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">联系电话</div>
                                    <div class="text-sm">0396-2853888</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-envelope text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">邮箱</div>
                                    <div class="text-sm">tech@huanghuai.edu.cn</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 活动信息 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8">
                    <div class="p-6">
                        <h2 class="text-xl font-bold mb-4">活动信息</h2>
                        <div class="space-y-4">
                            <div class="flex items-start gap-3">
                                <i class="fa fa-calendar text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">开始时间</div>
                                    <div class="text-sm">2023-11-20 09:00</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-clock-o text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">结束时间</div>
                                    <div class="text-sm">2023-11-20 17:00</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-map-marker text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">活动地点</div>
                                    <div class="text-sm">科技创新中心一楼大厅</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-calendar-check-o text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">报名截止</div>
                                    <div class="text-sm">2023-11-15 23:59</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-users text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">报名人数</div>
                                    <div class="text-sm">72/100人</div>
                                </div>
                            </div>
                            <div class="flex items-start gap-3">
                                <i class="fa fa-tags text-primary mt-1"></i>
                                <div>
                                    <div class="text-sm text-gray-500">活动标签</div>
                                    <div class="flex flex-wrap gap-2 mt-1">
                                        <span class="badge bg-gray-100 text-gray-700">科技创新</span>
                                        <span class="badge bg-gray-100 text-gray-700">学术竞赛</span>
                                        <span class="badge bg-gray-100 text-gray-700">大学生活动</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 相关活动 -->
                <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                    <div class="p-6">
                        <h2 class="text-xl font-bold mb-4">相关活动</h2>
                        <div class="space-y-4">
                            <a href="activity-detail.html" class="flex gap-3 group">
                                <img src="https://picsum.photos/id/1039/100/100" alt="相关活动" class="w-20 h-20 rounded-lg object-cover group-hover:scale-105 transition-all">
                                <div>
                                    <div class="font-medium line-clamp-2 group-hover:text-primary transition-all">大数据技术前沿讲座</div>
                                    <div class="text-xs text-info mt-1">2023-12-10</div>
                                </div>
                            </a>
                            <a href="activity-detail.html" class="flex gap-3 group">
                                <img src="https://picsum.photos/id/1041/100/100" alt="相关活动" class="w-20 h-20 rounded-lg object-cover group-hover:scale-105 transition-all">
                                <div>
                                    <div class="font-medium line-clamp-2 group-hover:text-primary transition-all">人工智能应用开发工作坊</div>
                                    <div class="text-xs text-info mt-1">2023-11-25</div>
                                </div>
                            </a>
                            <a href="activity-detail.html" class="flex gap-3 group">
                                <img src="https://picsum.photos/id/1042/100/100" alt="相关活动" class="w-20 h-20 rounded-lg object-cover group-hover:scale-105 transition-all">
                                <div>
                                    <div class="font-medium line-clamp-2 group-hover:text-primary transition-all">大学生创业项目路演</div>
                                    <div class="text-xs text-info mt-1">2023-12-01</div>
                                </div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <div class="w-10 h-10 bg-white rounded-lg flex items-center justify-center">
                            <i class="fa fa-graduation-cap text-primary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-bold">黄淮学院</h3>
                    </div>
                    <p class="text-gray-400 text-sm mb-4">校园活动管理系统致力于为全校师生提供便捷的活动信息服务平台。</p>
                    <div class="flex space-x-4">
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center hover:bg-primary transition-all">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center hover:bg-primary transition-all">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center hover:bg-primary transition-all">
                            <i class="fa fa-qq"></i>
                        </a>
                    </div>
                </div>
                <div>
                    <h4 class="text-lg font-medium mb-4">快速链接</h4>
                    <ul class="space-y-2 text-gray-400">
                        <li><a href="index.html" class="hover:text-white transition-all">首页</a></li>
                        <li><a href="activities.html" class="hover:text-white transition-all">活动列表</a></li>
                        <li><a href="discover.html" class="hover:text-white transition-all">发现</a></li>
                        <li><a href="about.html" class="hover:text-white transition-all">关于我们</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-medium mb-4">帮助中心</h4>
                    <ul class="space-y-2 text-gray-400">
                        <li><a href="faq.html" class="hover:text-white transition-all">常见问题</a></li>
                        <li><a href="contact.html" class="hover:text-white transition-all">联系我们</a></li>
                        <li><a href="privacy.html" class="hover:text-white transition-all">隐私政策</a></li>
                        <li><a href="terms.html" class="hover:text-white transition-all">用户协议</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-medium mb-4">联系我们</h4>
                    <ul class="space-y-3 text-gray-400">
                        <li class="flex items-start">
                            <i class="fa fa-map-marker mt-1 mr-3"></i>
                            <span>河南省驻马店市开源大道6号黄淮学院</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-phone mr-3"></i>
                            <span>0396-2853611</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-envelope mr-3"></i>
                            <span>contact@huanghuai.edu.cn</span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="pt-8 border-t border-white/10 text-center text-gray-500 text-sm">
                <p>© 2023 黄淮学院校园活动管理系统 版权所有</p>
            </div>
        </div>
    </footer>

    <!-- 回到顶部按钮 -->
    <button id="backToTop" class="fixed bottom-8 right-8 w-12 h-12 rounded-full bg-primary text-white shadow-lg flex items-center justify-center opacity-0 invisible transition-all">
        <i class="fa fa-angle-up text-xl"></i>
    </button>

    <!-- JavaScript -->
    <script src="js/main.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 收藏按钮功能
            const favoriteBtn = document.getElementById('favoriteBtn');
            if (favoriteBtn) {
                favoriteBtn.addEventListener('click', function() {
                    const icon = favoriteBtn.querySelector('i');
                    if (icon.classList.contains('fa-heart-o')) {
                        icon.classList.remove('fa-heart-o');
                        icon.classList.add('fa-heart');
                        favoriteBtn.classList.add('text-danger');
                        
                        // 显示收藏成功提示
                        showToast('收藏成功！');
                    } else {
                        icon.classList.remove('fa-heart');
                        icon.classList.add('fa-heart-o');
                        favoriteBtn.classList.remove('text-danger');
                        
                        // 显示取消收藏提示
                        showToast('已取消收藏');
                    }
                });
            }
            
            // 标签页切换
            const tabItems = document.querySelectorAll('.tab-item');
            tabItems.forEach(item => {
                item.addEventListener('click', function() {
                    // 移除所有活动状态
                    tabItems.forEach(tab => {
                        tab.classList.remove('tab-item-active');
                    });
                    // 添加当前活动状态
                    this.classList.add('tab-item-active');
                    
                    // 这里可以添加内容切换逻辑
                    console.log('切换到标签：', this.textContent);
                });
            });
            
            // 消息通知功能
            const notificationsBtn = document.getElementById('notificationsBtn');
            const notificationsDropdown = document.getElementById('notificationsDropdown');
            
            if (notificationsBtn && notificationsDropdown) {
                // 显示/隐藏通知窗口
                notificationsBtn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    notificationsDropdown.classList.toggle('hidden');
                    // 隐藏用户下拉菜单
                    document.getElementById('userDropdown').classList.add('hidden');
                });
            }
            
            // 用户下拉菜单功能
            const userMenuBtn = document.getElementById('userMenuBtn');
            const userDropdown = document.getElementById('userDropdown');
            
            if (userMenuBtn && userDropdown) {
                userMenuBtn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    userDropdown.classList.toggle('hidden');
                    // 隐藏通知窗口
                    if (notificationsDropdown) {
                        notificationsDropdown.classList.add('hidden');
                    }
                });
            }
            
            // 点击页面其他地方关闭所有下拉菜单
            document.addEventListener('click', function() {
                if (notificationsDropdown) {
                    notificationsDropdown.classList.add('hidden');
                }
                if (userDropdown) {
                    userDropdown.classList.add('hidden');
                }
            });
            
            // 阻止下拉菜单内部点击事件冒泡
            const dropdowns = document.querySelectorAll('#notificationsDropdown, #userDropdown');
            dropdowns.forEach(dropdown => {
                dropdown.addEventListener('click', function(e) {
                    e.stopPropagation();
                });
            });
            
            // 搜索按钮功能
            const searchBtn = document.getElementById('searchBtn');
            const searchBox = document.getElementById('searchBox');
            
            if (searchBtn && searchBox) {
                searchBtn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    searchBox.classList.toggle('hidden');
                });
                
                // 阻止搜索框内部点击事件冒泡
                searchBox.addEventListener('click', function(e) {
                    e.stopPropagation();
                });
                
                // 点击页面其他地方关闭搜索框
                document.addEventListener('click', function() {
                    searchBox.classList.add('hidden');
                });
            }
            
            // 简单的提示框函数
            function showToast(message) {
                // 创建提示元素
                const toast = document.createElement('div');
                toast.className = 'fixed top-20 left-1/2 transform -translate-x-1/2 bg-dark text-white px-6 py-3 rounded-lg shadow-lg z-50 transition-all duration-300 opacity-0';
                toast.textContent = message;
                document.body.appendChild(toast);
                
                // 显示提示
                setTimeout(() => {
                    toast.classList.remove('opacity-0');
                }, 100);
                
                // 3秒后隐藏提示
                setTimeout(() => {
                    toast.classList.add('opacity-0');
                    setTimeout(() => {
                        document.body.removeChild(toast);
                    }, 300);
                }, 3000);
            }
        });
    </script>
</body>
</html>